#include "Context.h"
#include "ConcreteStrategyA.h"
#include <iostream>

namespace Strategy{
    Context::Context() {
        this->strategy = new ConcreteStrategyA{};
    }

    void Context::algorithm() {
        this->strategy->algorithm();
    }

    void Context::setStrategy(Stgy *strategy) {
        this->strategy = strategy;
    }
}
